<?php

include_once 'ShippableProduct.php';
include_once 'DigitalProduct.php';
class ProductFactory
{
    const SHIPPING_COSTS = 50;
    public function createShippableProduct($price)
    {
        return new ShippableProduct($price,self::SHIPPING_COSTS);
    }

    public function createDigitalProduct($price)
    {
        return new DigitalProduct($price);
    }
}